<?php
/**
 * Created by PhpStorm.
 * User: 魏爷
 * Date: 2016/5/28
 * Time: 14:52
 */

namespace Home\Model;


class TopicModel extends BaseModel
{
    // 数据表名（不包含表前缀）
    protected $tableName        =   'topic';

    /**
     * 查询所有题目
     * @return array()
    **/
    public function getTopicInfo(){
        return $this->order('topic_id ASC')->select();
    }


}